package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 值日规划对象 duty_info
 * 
 * @author ruoyi
 * @date 2021-11-11
 */
public class DutyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 值日日期 */
    @Excel(name = "值日日期")
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date day;

    /** 值日时段 */
    @Excel(name = "值日时段")
    private Long time;

    /** 服务id */
    @Excel(name = "服务id")
    private Long sid;

    /** 专家id */
    @Excel(name = "专家id")
    private Long pid;

    /** 专家姓名 */
    @Excel(name = "专家姓名")
    private String doctorName;

    /** 服务名称**/
    @Excel(name = "服务名称")
    private String serverName;

    /** 电话**/
    @Excel(name = "电话")
    private String phonenumber;

    /** 优先级**/
    @Excel(name = "优先级")
    private int level;


    public String getPhonenumber() {
        return phonenumber;
    }

    public int getLevel() {
        return level;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public String getServerName() {
        return serverName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDay(Date day)
    {
        this.day = day;
    }

    public Date getDay()
    {
        return day;
    }
    public void setTime(Long time) 
    {
        this.time = time;
    }

    public Long getTime() 
    {
        return time;
    }
    public void setSid(Long sid)
    {
        this.sid = sid;
    }

    public Long getSid()
    {
        return sid;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }

    @Override
    public String toString() {
        return "DutyInfo{" +
                "id=" + id +
                ", day=" + day +
                ", time=" + time +
                ", sid=" + sid +
                ", pid=" + pid +
                ", doctorName='" + doctorName + '\'' +
                ", serverName='" + serverName + '\'' +
                ", phonenumber='" + phonenumber + '\'' +
                ", level=" + level +
                '}';
    }
}
